package com.pateo.bjev.contacts.adapter;

import android.content.Context;
import com.pateo.bluetooth.logic.bean.ContactData;
import java.util.List;

/**
 * Created by pateo on 17-5-15.
 */

public class SearchNameAdapter extends ContactAdapter{

    public SearchNameAdapter(Context context, List<ContactData> contactDataList) {
        super(context, contactDataList);
    }

    @Override
    protected void setContainerList() {
        list.clear();
        for(ContactData contactData : contacts){
            list.add(new ItemObject(ContactAdapter.TYPE_CONTACT,contactData));
        }
    }
}
